#import "Square.h"
#import <Foundation/Foundation.h>

int main (int argc, char *argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

    Square *mySquare = [[Square alloc] init];

    [mySquare setSide: 5];

    NSLog (@"Kwadrat s = %i", [mySquare side]);
    NSLog (@"Pole powierzchni = %i, Obwd = %i",
        [mySquare area], [mySquare perimeter]);
    [mySquare release];

    [pool drain];
    return 0;
}